<?php
	require_once "../db/mysql/tbr.php";
	require_once "../classes/forms.cls.php";
	require_once "../conf/config.php";
	
	
	/****  CONNECTION TO RDBMS SERVER ****/	
	require_once "../db/mysql/tbr.ini.php";
	/***********************************/
	
	$form = new svq_form();
	$form = new svq_form();
	$formTable = 'svq_forms';
	$lineTable = 'svq_line';
	$formLineTable = 'svq_forms_line';
	$formId    = $_REQUEST['dbfid'];
	$___ = $form->getFormById($base,$formTable,$lineTable,$formLineTable,$formId);  //let's
	
	if(isset($_REQUEST['s'])&&($_REQUEST['s']==1)){
		echo $___['name'];
		echo $_REQUEST['dbfid'];
	}
	
	if(isset($_REQUEST['s'])&&($_REQUEST['s']==2)){
		echo $___['desc'];
	}
	
	//echo $_REQUEST['s'];
?>